package com.simpledemo.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;

import com.simpledemo.R;

/**
 * Description:
 * Date：2019/1/3-17:00
 * Author: Liangchaojie
 */
public class MyButton extends AbastractDragFloatActionButton{
    public MyButton(Context context) {
        super(context);
    }

    public MyButton(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MyButton(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public int getLayoutId() {
        //return R.layout.custom_button;//拿到你自己定义的悬浮布局
        return 0;
    }

    @Override
    public void renderView(View view) {
        //初始化那些布局
    }
}
